IF( NOT wxWidgets_FOUND)
	return()
ENDIF(NOT wxWidgets_FOUND)

project(AppWxHelloWorld)
INCLUDE_DIRECTORIES(
 ${EDUNET_GAMES_SOURCE_DIR}/Source/opensteer/include
${EDUNET_GAMES_SOURCE_DIR}/Source/Src
)
file (GLOB Tutorial_Src "${${PROJECT_NAME}_SOURCE_DIR}/*.cpp")
file (GLOB Tutorial_Hdrs "${${PROJECT_NAME}_SOURCE_DIR}/*.h")
#file (GLOB Renderer_Src "${${PROJECT_NAME}_SOURCE_DIR}/../../opensteer/src/Draw.cpp")

# wxWidgets include (this will do all the magic to configure everything)
include( ${wxWidgets_USE_FILE} )
 
 
# If we build for windows systems, we also include the resource file
# containing the manifest, icon and other resources
if(WIN32)
  #set(Tutorial_Src ${Tutorial_Src} minimal.rc)
endif(WIN32)


LINK_DIRECTORIES(
 #${LINK_DIRECTORIES}
 #${Boost_LIBRARY_DIRS}
 )
 

 LINK_LIBRARIES(
#${EduNet_PLAYER_LIBRARIES}
${wxWidgets_LIBRARIES}
)

add_executable(${PROJECT_NAME}  ${Tutorial_Hdrs} ${Tutorial_Src})
set_property( TARGET ${PROJECT_NAME} PROPERTY FOLDER "edunet/applications" )

set_target_properties( ${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_Debug" )
set_target_properties( ${PROJECT_NAME} PROPERTIES RELEASE_POSTFIX "_Release" )
set_target_properties( ${PROJECT_NAME} PROPERTIES MINSIZEREL_POSTFIX "_MinsizeRel" )
set_target_properties( ${PROJECT_NAME} PROPERTIES RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo" )

